<p><?php echo $this->content->body;?></p>
<?php if(count($this->paginator)):?>

<?php foreach ( $this->paginator as $value):?>
<ul>          
<li><a href="<?=$this->url(array(
                        'controller'=>'live',
                        'action'=>'room',
                        'id'=>$value['id']))?>"><?= $value['title'];?>
    </a>
</li>

</ul>


<?php   endforeach;?>
<?php echo $this->paginationControl($this->paginator,
                                    'Sliding',
                                    '/partials/my_pagination.phtml'); ?>
<?php else: ?>
    <p>Записей нет</p>
    <a href="question/add">Добавьте запись</a>
<?php endif;?>